﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StreetlightGames.XnaEngine;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace StreetlightGames.SpaceShooter
{
    public class MotherShip : EnemyShip
    {
        private bool _isHit;

        public MotherShip()
        {
        }

        public override void LoadContent(ContentManager contentManager)
        {
            Model = contentManager.Load<Model>("Models\\GalagaMotherShip");
            base.LoadContent(contentManager);
        }

        internal override void Explode()
        {
            if (_isHit)
            {
                base.Explode();
            }
            else
            {
                _isHit = true;
            }
        }
    }
}
